#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>
#include "Stack.h"

int main(void) {
	Stack s;
	stack_init(&s);

	for (int i = 1; i <= 10; i++) {
		stack_push(&s, i);
	}

	while (!stack_empty(&s)) {
		E e = stack_peek(&s);
		printf("%d\n", e);
		stack_pop(&s);
	}

	stack_destroy(&s);
	return 0;
}